package abstractfactory.factory.impl;

import abstractfactory.factory.AbstractFactory;
import abstractfactory.product.AbstractProductA;
import abstractfactory.product.AbstractProductB;
import abstractfactory.product.impl.ProductA2;
import abstractfactory.product.impl.ProductB2;

/**
 *
 * @author Liu Yicong
 * @date 2025/9/21
 */
public class ConcreteFactory2 implements AbstractFactory {
	@Override
	public AbstractProductA createProductA() {
		return new ProductA2();
	}

	@Override
	public AbstractProductB createProductB() {
		return new ProductB2();
	}
}
